//
//  ATVInstanceService.h
//  FlashController
//
//  Created by Martin Schiøth Dyrby on 11/15/11.
//  Copyright 2011 Molamil. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASTypeParser.h"
#import "ATVInstance.h"

@interface ATVInstanceService : NSObject {
    NSMutableArray *instances;
    ASTypeParser *asTypeParser;
}
@property (retain) NSMutableArray *instances;
@property (retain) IBOutlet ASTypeParser *asTypeParser;
- (void) addInstanceFromXMLString: (NSString *) xml;
- (void) removeInstanceWithPath: (NSString *) path;
- (ATVInstance *) getInstanceAtIndex: (NSInteger) index;
- (void) cleanAll;
@end
